#! /bin/sh

name=graphite2
version=1.3.14
revision=1
tarball_url="https://github.com/silnrsi/graphite/releases/download/${version}/graphite2-${version}.tgz"
tarball_blake2b="72bf6736aaa8476a89e44ef53c5b6c94f45d815fe1a451ba6b3696bfe023971210975dee4a9c8cb3042f36442e4efecf5baf171ef4230ad2b10694a89865f918"
imagedeps="cmake ninja-build"
hostdeps="gcc pkg-config"
deps="core-libs"

configure() {
    cmake_configure
}

build() {
    ninja -j${parallelism}
}

package() {
    DESTDIR="${dest_dir}" ninja install

    post_package_strip
}
